package com.feedback.c;

import android.content.Context;
import android.content.Intent;
import com.feedback.b.a;
import com.feedback.b.b;
import com.feedback.ui.FeedbackConversation;
import com.feedback.ui.FeedbackConversations;
import com.feedback.ui.SendFeedback;

public class a
{
  public static void a(Context paramContext)
  {
    a(paramContext, null);
  }

  public static void a(Context paramContext, b paramb)
  {
    Intent localIntent = new Intent(paramContext, SendFeedback.class);
    localIntent.setFlags(131072);
    if ((paramb != null) && (paramb.b == com.feedback.b.a.b))
      localIntent.putExtra("feedback_id", paramb.c);
    paramContext.startActivity(localIntent);
  }

  public static void b(Context paramContext)
  {
    Intent localIntent = new Intent(paramContext, FeedbackConversations.class);
    localIntent.setFlags(131072);
    paramContext.startActivity(localIntent);
  }

  public static void b(Context paramContext, b paramb)
  {
    FeedbackConversation.setUserContext(paramContext);
    Intent localIntent = new Intent(paramContext, FeedbackConversation.class);
    localIntent.setFlags(131072);
    localIntent.putExtra("feedback_id", paramb.c);
    paramContext.startActivity(localIntent);
  }
}